export default {
    saveUsername(username){
        localStorage.setItem('Username',username)
    },
    getUsername(){
        return localStorage.getItem('Username')
    },
    removeUsername(){
        localStorage.removeItem('Username')
    },
    saveToken(token){
        localStorage.setItem('Token',token)
    },
    getToken(){
        return localStorage.getItem('Token')
    },
    removeToken(){
        localStorage.removeItem('Token')
    },
    removeAll(){
        localStorage.clear()
    }
}